import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CourseOffering } from './entities/course_offering.entity';
import { CourseOfferingService } from './course_offering.service';
import { CourseOfferingController } from './course_offering.controller';
import { Course } from '../course/entities/course.entity';
import { Teacher } from '../teacher/entities/teacher.entity';
import { Semester } from '../semester/entities/semester.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      CourseOffering,
      Course,
      Teacher,
      Semester
    ])
  ],
  controllers: [CourseOfferingController],
  providers: [CourseOfferingService],
})
export class CourseOfferingModule {}
